<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>

		<script>
			function test1() {
				var num1 = parseInt(document.getElementById('input1').value);
				var num2 = parseInt(document.getElementById('input2').value);
				var num3 = parseInt(document.getElementById('input3').value);
				var num = num1 > num2 ? num1 : num2;
				alert(num > num3 ? num : num3)
			}
		</script>
	</body>
</html>
